home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re FW_CString < prev    next >
Encoding:
Internet Message Format  |  1996-08-20  |  850 b   |  [TEXT/ttxt]

  1. Subject:     Re:FW_CString
  2. Sent:        8/20/96 8:54 AM
  3. Received:    8/20/96 9:18 AM
  4. From:        Greg Friedman, friedman@cognosis.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Walter Holladay wrote:
  9. > There does not appear to be a coversion for FW_CString to and from a
  10. > pascal string.  Why is that?  After all this is the Mac!
  11.  
  12. You can export an FW_CString as a pascal string by calling
  13. FW_CString::ExportPascal. It is the caller's responsibility to provide a
  14. buffer and to insure that the buffer is large enough. You can call
  15. FW_CString::GetByteLength if you want to set the size of your pascal string
  16. buffer dynamically.
  17.  
  18. Greg Friedman
  19.  
  20.  
  21. _________________________________________________________
  22. Greg Friedman      ODF Engineering       Apple Computer
  23.  
  24.  
  25.